package com.orange.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author orange
 * @email orangestart@yeah.net
 * @create 2021-12-12 19:07
 */
@SpringBootApplication
@EnableDiscoveryClient  //nacos注册
@EnableFeignClients     //服务调用
@ComponentScan(basePackages = {"com.orange"})
public class EduApplication {
    //启动类
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }
}
